/* ==========================================================================
   FARMSPHERICA — PREMIUM DESIGN SYSTEM
   Dark-mode agri-tech aesthetic. Forest night palette, electric emerald accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@400;500;600&display=swap');

:root {
    /* Forest Night Palette */
    --bg-deep:    #080f0b;
    --bg-mid:     #0d1a10;
    --bg-surface: #111e14;
    --bg-card:    #14221a;
    --bg-card-hover: #172616;

    /* Typography */
    --text-primary: #f0f7f2;
    --text-secondary: #7a9e87;
    --text-muted:   #3d5446;

    /* Accent — Electric Emerald */
    --accent:      #00e87a;
    --accent-dim:  rgba(0, 232, 122, 0.12);
    --accent-glow: rgba(0, 232, 122, 0.25);

    /* Danger (for traditional farming side) */
    --danger:      #ff6b6b;
    --danger-dim:  rgba(255, 107, 107, 0.08);

    /* Borders */
    --border:       rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 232, 122, 0.3);

    /* Purple grow light */
    --led-purple: #bf5fff;
    --led-blue:   #5faaff;

    /* Type */
    --font-display: 'DM Sans', -apple-system, sans-serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-antigravity: cubic-bezier(0.05, 0.9, 0.2, 1); /* Weightless deceleration curve */
    --t-fast: 0.2s;
    --t-med:  0.4s;
    --t-float: 0.85s;
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   ANTIGRAVITY SCROLL ANIMATION SYSTEM
   Weightless float-up reveals with staggered delays.
   Uses GPU-composited transform + opacity only — locked 60 FPS.
   ========================================================================== */

/* 1. SCROLL-REVEAL: Float upward from baseline */
.reveal {
    opacity: 0;
    transform: translateY(30px) translateZ(0); /* translateZ promotes to GPU layer */
    transition: opacity var(--t-float) var(--ease-antigravity),
                transform var(--t-float) var(--ease-antigravity);
    will-change: transform, opacity;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

/* 3. STAGGERED DELAY via CSS custom property */
.reveal[data-stagger] {
    transition-delay: calc(var(--stagger-index, 0) * 120ms);
}

/* 2. HOVER LIFT-OFF: Detach-from-page effect for interactive cards */
.hover-lift {
    transition: transform 0.45s var(--ease-antigravity),
                box-shadow 0.45s var(--ease-antigravity);
    will-change: transform;
}
.hover-lift:hover {
    transform: translateY(-15px) translateZ(0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
                0 8px 20px rgba(0, 232, 122, 0.08);
}


.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 64px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(8, 15, 11, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.logo svg { color: var(--accent); flex-shrink: 0; }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 6px;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-cta-btn {
    background: var(--accent) !important;
    color: var(--bg-deep) !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
    transition: opacity var(--t-fast) !important;
}
.nav-cta-btn:hover { opacity: 0.88; background: var(--accent) !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--t-fast);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 28px 24px;
    border-top: 1px solid var(--border);
    background: rgba(8, 15, 11, 0.96);
    backdrop-filter: blur(16px);
}
.mobile-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--t-fast);
}
.mobile-menu a:hover { color: var(--text-primary); }
.mobile-menu .mobile-cta {
    margin-top: 16px;
    padding: 14px 0;
    text-align: center;
    background: var(--accent);
    color: var(--bg-deep) !important;
    font-weight: 700;
    border-radius: 8px;
    border-bottom: none;
}
.mobile-menu.open { display: flex; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-deep);
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity var(--t-fast), transform var(--t-fast);
    white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary.btn-large { padding: 16px 32px; font-size: 1rem; }

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.btn-neon {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px var(--accent-glow), inset 0 0 8px var(--accent-glow);
    transition: all var(--t-fast);
    white-space: nowrap;
}
.btn-neon:hover {
    background: var(--accent);
    color: var(--bg-deep);
    box-shadow: 0 0 24px var(--accent-glow), inset 0 0 12px var(--accent-glow);
    transform: translateY(-1px);
}
.btn-neon.btn-large { padding: 16px 32px; font-size: 1rem; }

/* ===== HERO (VIDEO BACKGROUND & CENTERED) ===== */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-areas: "heroStack"; /* Stacks all children on top of each other */
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Make sure all primary layers occupy the exact same layout stack space */
.hero-video-container,
.hero-overlay,
.hero-centered-content {
    grid-area: heroStack;
}

/* 1. Video Sizing Rule */
.hero-video-container {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents video distortion, stretching to fill */
}

/* 2. Text Legibility Tint Overlay */
.hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(8, 15, 11, 0.85) 0%,   /* Darker top to blend with your navbar */
        rgba(8, 15, 11, 0.65) 50%,
        rgba(8, 15, 11, 0.95) 100%   /* Darker bottom to blend into the impact section */
    );
    z-index: 2;
}

/* 3. Main Center Text Alignment */
.hero-centered-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;    /* Center horizontally */
    text-align: center;     /* Center text lines inline */
    max-width: 950px;       /* Increased from 800px to allow your massive text room to breathe */
}

/* --- MASSIVE HERO HEADLINE --- */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 10vw, 8.5rem); /* Dynamically scales up to be massive on desktop */
    font-weight: 800;
    line-height: 0.95; /* Tightened line-height to make it look professional and cinematic */
    letter-spacing: -0.05em; /* Closer spacing for a sharp, editorial layout */
    color: var(--text-primary);
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-primary); /* Slightly higher contrast text over video graphics */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds a subtle drop shadow under letters */
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 620px;       /* Snug box alignment */
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center; /* Center buttons horizontally */
    gap: 16px;
    margin-bottom: 54px;
    flex-wrap: wrap;
}

/* Adjusting the trust metric layout to fit under the center alignment block */
.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    background: rgba(13, 26, 16, 0.5); /* Semi-transparent panel backing */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center internal text strings */
    text-align: center;
}

.trust-label {
    max-width: 140px;
}

/* Ensure scroll dot remains visible over video frames */
.hero-scroll-hint {
    z-index: 4;
}

/* Target the "Waste Nothing" italicized text */
.hero-title em {
    font-style: normal;
    color: var(--accent) !important; /* Forces the text to use your electric emerald green */
    text-shadow: 0 0 25px rgba(0, 232, 122, 0.45); /* Enhanced glow to match the massive header scale */
}

/* Target the large numbers/metrics at the bottom of the hero page */
.hero-trust-bar .highlighted-green {
    color: var(--accent) !important;
}

/* Media Query cleanup for Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    .hero-trust-bar {
        gap: 20px;
        padding: 16px;
    }
    .trust-divider {
        display: none;
    }
}

/* --- Animated Farm Rack Visual --- */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.rack-ambiance {
    position: absolute;
    inset: -20px;
    border-radius: 24px;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(191, 95, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.farm-rack {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 0 60px rgba(0, 232, 122, 0.05), 0 24px 48px rgba(0,0,0,0.4);
}

.rack-shelf {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.grow-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 8px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: ledPulse 2s ease-in-out infinite;
}
.led-purple {
    background: var(--led-purple);
    box-shadow: 0 0 8px var(--led-purple), 0 0 16px rgba(191, 95, 255, 0.3);
}
.led-blue {
    background: var(--led-blue);
    box-shadow: 0 0 8px var(--led-blue), 0 0 16px rgba(95, 170, 255, 0.3);
}
.shelf-1 .led { animation-delay: 0s; }
.shelf-2 .led { animation-delay: 0.6s; }
.shelf-3 .led { animation-delay: 1.2s; }

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.plant-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex: 1;
    justify-content: center;
    padding: 4px 0;
}
.plant {
    border-radius: 50% 50% 10% 10%;
    background: var(--accent);
    opacity: 0.7;
    transition: opacity 1s;
}
.p1 { width: 10px; height: 14px; }
.p2 { width: 10px; height: 18px; }
.p3 { width: 10px; height: 12px; }
.p4 { width: 10px; height: 20px; }

.water-pipe {
    height: 3px;
    background: var(--bg-mid);
    overflow: hidden;
    position: relative;
}
.water-flow {
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--led-blue), transparent);
    animation: waterFlow 2s linear infinite;
}
@keyframes waterFlow {
    from { transform: translateX(-100%); }
    to   { transform: translateX(350%); }
}

.recirculation-system {
    padding: 8px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.recirc-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    flex: 1;
}
.recirc-line {
    flex: 2;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
    animation: recircFlow 1.5s ease-in-out infinite;
}
@keyframes recircFlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%       { transform: translateY(8px); opacity: 1; }
}

/* ===== STATS SECTION ===== */
/* ===== INTERACTIVE STATS (UPGRADED BENCHMARK SECTION) ===== */
.interactive-stats {
    position: relative;
    background: var(--bg-deep); /* Darker base for glassmorphism */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* Background Effects */
.glow-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 500px;
    background: radial-gradient(ellipse, rgba(0, 232, 122, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.matrix-grid-overlay.opacity-low {
    opacity: 0.4;
    z-index: 1;
}

/* Faint animated gradient sweep */
.gradient-sweep-anim {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 232, 122, 0.03), transparent);
    transform: skewX(-25deg);
    animation: ambientGradientSweep 6s infinite linear;
    z-index: 1;
    pointer-events: none;
}

.stats-grid-wrapper {
    position: relative;
    margin-top: 40px;
    z-index: 2;
}

.stats-grid.connected-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

/* Connectors */
.stat-connector {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 232, 122, 0.1), rgba(0, 232, 122, 0.4), rgba(0, 232, 122, 0.1));
    align-self: center;
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.connected-grid.visible .stat-connector {
    opacity: 1;
    transform: scaleX(1);
    transition-delay: 0.4s;
}

/* Premium Glass Cards */
.stat-card.glass-card {
    position: relative;
    flex: 1;
    min-width: 200px;
    background: rgba(20, 34, 26, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 24px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform var(--t-float) var(--ease-antigravity),
                opacity var(--t-float) var(--ease-antigravity),
                border-color 0.4s var(--ease-antigravity),
                box-shadow 0.45s var(--ease-antigravity);
    overflow: hidden;
}

/* Staggered entrance applied via JS */
.stat-card.glass-card.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Hover Interactions — Antigravity Lift-Off */
.stat-card.glass-card:hover {
    transform: translateY(-15px) translateZ(0);
    border-color: rgba(0, 232, 122, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
                0 8px 24px rgba(0, 232, 122, 0.12);
    background: rgba(20, 34, 26, 0.6);
}

/* Cursor-following glow effect */
.card-glow-effect {
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 232, 122, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}
.stat-card.glass-card:hover .card-glow-effect {
    opacity: 1;
}

.stat-glyph {
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}
.stat-card.glass-card:hover .stat-glyph {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 8px rgba(0, 232, 122, 0.5));
}

/* Visual Hierarchy for Leader Stat */
.stat-leader .stat-big {
    font-size: 4.2rem;
    color: #fff;
    text-shadow: 0 0 24px rgba(0, 232, 122, 0.4);
}
.stat-leader .stat-unit { font-size: 2.6rem; color: var(--accent); }

.stat-big {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.stat-big .live-counter-val { color: var(--text-primary); }
.stat-big .stat-unit { color: var(--accent); font-size: 2rem; }

.stat-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.stat-card.glass-card:hover h4 {
    color: #fff;
}
.stat-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Trust Row Footer */
.trust-row-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}
.trust-badge svg {
    color: var(--accent);
}
.trust-badge:hover {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .stats-grid.connected-grid {
        flex-direction: column;
        gap: 24px;
    }
    .stat-connector { display: none; }
}

/* ===== COMPARISON ===== */
.comparison-section {
    background: var(--bg-deep);
}

.comparison-board {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-head {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}
.ch-col {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ch-col.traditional { color: var(--danger); text-align: right; }
.ch-col.farmspherica { color: var(--accent); text-align: left; }


.comparison-row {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: background var(--t-fast);
}
.comparison-row:last-child { border-bottom: none; }
.comparison-row:hover { background: rgba(255,255,255,0.015); }

.c-side {
    padding: 32px 24px;
}
.c-side h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.c-side p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.55;
}
.c-bad {
    text-align: right;
    background: rgba(255, 107, 107, 0.03);
}
.c-bad h4 { color: #ff8a8a; }
.c-good {
    text-align: left;
    background: rgba(0, 232, 122, 0.03);
}
.c-good h4 { color: var(--accent); }

.c-mid-icon {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
}

/* ===== SIMULATOR WRAPPER & CONTROLS ===== */
.sim-section {
    /* Glass‑morphic background with subtle blur */
    background: rgba(13, 26, 16, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.sim-control-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform var(--t-fast) var(--ease),
                box-shadow var(--t-fast) var(--ease);
}
.sim-control-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.sim-slider-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Custom Styled Range Input Slider Track */
input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast);
    box-shadow: 0 0 0 4px var(--accent-dim);
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Number input box next to slider */
.sim-number-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 14px;
    gap: 6px;
    width: 120px;
    flex-shrink: 0;
    transition: border-color var(--t-fast);
}
.sim-number-wrap:focus-within {
    border-color: var(--accent);
}
#weightInput {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: 11px 0;
    outline: none;
}

/* Metrics Grid & Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.metric-card {
    background: rgba(20, 34, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 232, 122, 0.15);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.45s var(--ease-antigravity),
                box-shadow 0.45s var(--ease-antigravity),
                border-color 0.4s var(--ease-antigravity),
                background 0.4s var(--ease-antigravity);
    box-shadow: 0 4px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
    will-change: transform;
}
.metric-card:hover {
    border-color: var(--accent);
    transform: translateY(-15px) translateZ(0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
                0 8px 24px rgba(0, 232, 122, 0.1),
                inset 0 1px 0 rgba(255,255,255,0.1);
    background: rgba(20, 34, 26, 0.8);
}
.metric-card.highlight-card {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(0, 232, 122, 0.08) 0%, rgba(20, 34, 26, 0.8) 100%);
    box-shadow: 0 0 20px rgba(0, 232, 122, 0.2);
}
.metric-value {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    text-shadow: 0 0 15px var(--accent-glow);
}
.metric-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.metric-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.metric-icon {
    font-size: 2rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.metric-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 12px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.efficiency-statement {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.eff-prefix, .eff-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}
.eff-number {
    letter-spacing: -0.05em;
    color: var(--accent);
    line-height: 1;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--bg-deep);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.45s var(--ease-antigravity),
                box-shadow 0.45s var(--ease-antigravity),
                border-color 0.4s var(--ease-antigravity);
    will-change: transform;
}
.testimonial-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-15px) translateZ(0);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35),
                0 8px 20px rgba(0, 232, 122, 0.06);
}

.t-quote {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.t-quote::before { content: '\201C'; }
.t-quote::after  { content: '\201D'; }

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 232, 122, 0.2);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.t-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}
.t-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
}
.cta-inner {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}
.cta-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0, 232, 122, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; text-align: center; }

.cta-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(0, 232, 122, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto 20px;
}

.highlight-text-neon {
    color: var(--accent);
    font-size: 1.15em;
    text-shadow: 0 0 15px var(--accent-glow);
    display: inline-block;
    transform: translateY(2px);
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.footer-logo svg { color: var(--accent); }
.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 240px;
    margin-bottom: 16px;
}
.footer-reg {
    font-size: 0.7rem !important;
    color: var(--text-muted) !important;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin-bottom: 10px;
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-col p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== SCROLL REVEAL (handled by Antigravity system above) ===== */

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        height: 300px;
        order: -1;
    }
    .hero-trust-bar { gap: 16px; }
    .trust-divider { display: none; }

    .section { padding: 80px 0; }

    .stats-grid { grid-template-columns: 1fr 1fr; }

    .comparison-head { display: none; }
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .c-bad, .c-good {
        text-align: left;
        padding: 20px 24px;
    }
    .c-bad { border-bottom: 1px solid var(--border); }

    .metrics-grid { grid-template-columns: 1fr 1fr; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .sim-slider-row { flex-direction: column; align-items: stretch; }
    .sim-number-wrap { width: 100%; }

    .cta-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===== NEON TEXT GLOW EFFECTS ===== */
.neon-text {
    color: var(--accent) !important; /* Turns the phrase Electric Emerald green */
    text-shadow: 0 0 10px rgba(0, 232, 122, 0.4),
                 0 0 25px rgba(0, 232, 122, 0.2),
                 0 0 50px rgba(0, 232, 122, 0.1); /* Layered shadows create a realistic neon filament tube glow */
}

/* ===== NUMBER RISING & COUNTING ANIMATION SETUP ===== */
.stat-big {
    overflow: hidden; /* Keeps the movement clean within the card boundary */
}

.stat-big .live-counter-val {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px); /* Starts slightly lowered down */
    animation: riseUpCount 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; /* Smooth structural curve movement */
}

@keyframes riseUpCount {
    to {
        opacity: 1;
        transform: translateY(0); /* Rises up perfectly into its home baseline position */
    }
}

/* ==========================================================================
   FUTURISTIC ENTERPRISE COMPARISON DESIGN SYSTEM
   ========================================================================== */
.premium-comparison-section {
    position: relative;
    background-color: #080f0b; /* Forest Deep */
    padding: 120px 0;
    overflow: hidden;
}

/* 5. BACKGROUND EFFECTS & AMBIENT RADIAL GLOWS */
.matrix-grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(28, 51, 36, 0.15) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(28, 51, 36, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.ambient-radial-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 232, 122, 0.04) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.glow-top { top: -10%; left: -10%; }
.glow-bottom { bottom: -10%; right: -10%; }

.premium-comparison-section .container {
    position: relative;
    z-index: 2;
}

/* HEADLINE REVEAL HIERARCHY */
.comparison-header-block {
    text-align: center;
    margin-bottom: 64px;
}
.headline-reveal {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.highlighted-emerald {
    color: #00e87a;
    text-shadow: 0 0 20px rgba(0, 232, 122, 0.25);
}

/* 1. HERO STATISTICS ROW SCALERS */
.hero-stats-row-suite {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.stat-glass-card {
    position: relative;
    background: rgba(20, 34, 26, 0.45);
    border: 1px solid rgba(28, 51, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover glow states */
.stat-glass-card:hover {
    transform: translateY(-4px);
    border-color: #00e87a;
    box-shadow: 0 10px 30px rgba(0, 232, 122, 0.1);
}

.stat-glass-card.view-active {
    transform: translateY(0);
    opacity: 1;
    transition-delay: calc(var(--stagger) * 120ms);
}

/* Icon floats slow-loop */
.stat-icon-floating {
    font-size: 1.75rem;
    margin-bottom: 12px;
    display: inline-block;
    animation: floatingMicroLoop 4s ease-in-out infinite;
}

.stat-number-wrap {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f0f7f2;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label-text {
    font-size: 0.85rem;
    color: #7a9e87;
    font-weight: 500;
}

/* 2 & 3. COMPONENT STACKED COMPARISONS & TIMELINE PROGRESS */
.comparison-journey-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto 80px;
}

.vertical-scroll-progress-line {
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(28, 51, 36, 0.4);
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-fill-indicator {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, #1c3324, #00e87a);
    box-shadow: 0 0 10px #00e87a;
    transition: height 0.1s linear;
}

.journey-card-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    z-index: 2;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.journey-card-wrapper.view-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Central Anchor Nodes */
.journey-node-dot {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 12px;
    height: 12px;
    background: #080f0b;
    border: 2px solid #1c3324;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.journey-card-wrapper.view-active .journey-node-dot {
    border-color: #00e87a;
    background: #00e87a;
    box-shadow: 0 0 10px #00e87a;
}

/* Comparative Panels Base styling */
.side-card {
    background: rgba(20, 34, 26, 0.25);
    border: 1px solid rgba(28, 51, 36, 0.5);
    border-radius: 12px;
    padding: 36px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.badge-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7a9e87;
    margin-bottom: 16px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.red-dot { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.green-dot { background: #00e87a; box-shadow: 0 0 6px #00e87a; }

.side-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.side-card p {
    font-size: 0.95rem;
    color: #7a9e87;
    line-height: 1.6;
}

/* Baseline Muted Panel Configuration */
.traditional-risk {
    border-left: 2px solid rgba(239, 68, 68, 0.3);
}

/* Asymmetric Farmspherica Advantage Layout Emphasizer */
.farmspherica-gain {
    position: relative;
    border: 1px solid rgba(0, 232, 122, 0.2);
    background: linear-gradient(145deg, rgba(20, 34, 26, 0.6) 0%, rgba(8, 15, 11, 0.4) 100%);
    transform: scale(1.02); /* Visually larger */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.farmspherica-gain h3 {
    color: #f0f7f2;
}

/* Interactive Hover Modifiers */
.journey-card-wrapper:hover .farmspherica-gain {
    transform: scale(1.04) translateY(-4px);
    border-color: #00e87a;
    box-shadow: 0 15px 40px rgba(0, 232, 122, 0.15);
}
.journey-card-wrapper:hover .traditional-risk {
    transform: translateY(-2px);
}

/* 4. PASSIVE GRADIENT SWEEP ANIMATION */
.sweep-gradient-line {
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 232, 122, 0.05), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: ambientGradientSweep 8s infinite linear;
}

/* 7. TRUST CREDIBILITY FOOTER STRIP */
.credibility-strip-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-top: 1px solid #1c3324;
    padding-top: 40px;
    flex-wrap: wrap;
}

.strip-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: #7a9e87;
}
.strip-item span {
    color: #00e87a;
    margin-right: 4px;
}

.strip-divider {
    width: 4px;
    height: 4px;
    background: #3d5446;
    border-radius: 50%;
}

/* KEYFRAMES ENGINE CORES */
@keyframes floatingMicroLoop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes ambientGradientSweep {
    0% { left: -150%; }
    30%, 100% { left: 150%; }
}

/* COMPREHENSIVE MOBILE RESPONSIVENESS OVERRIDES */
@media (max-width: 992px) {
    .hero-stats-row-suite { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .journey-card-wrapper { gap: 32px; }
}

@media (max-width: 768px) {
    .hero-stats-row-suite { grid-template-columns: 1fr; }
    .vertical-scroll-progress-line, .journey-node-dot, .strip-divider { display: none; }
    .journey-card-wrapper { grid-template-columns: 1fr; gap: 16px; }
    .farmspherica-gain { transform: scale(1); }
    .journey-card-wrapper:hover .farmspherica-gain { transform: translateY(-4px); }
    .credibility-strip-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
}
/* ==========================================================================
   LIVE EFFICIENCY ENGINE - HIGH-CONTRAST METRICS
   ========================================================================== */

/* 1. Make the main dashboard counter text massive and neon */
.live-metric-output, 
.math-big-metric,
.stat-number-wrap {
    font-family: 'Poppins', sans-serif; /* Clean, modern geometry */
    font-size: 3.2rem !important;       /* Increased size from 2.4rem to capture immediate attention */
    font-weight: 800 !important;       /* Extra Bold weight for maximum structure */
    letter-spacing: -0.04em;           /* Tighten characters for a premium UI feel */
    color: #00e87a !important;          /* Crisp Electric Emerald tint */
    line-height: 1;
    margin-bottom: 8px;
    
    /* Subtle neon cyber-glow behind the numbers */
    text-shadow: 0 0 20px rgba(0, 232, 122, 0.35),
                 0 0 40px rgba(0, 232, 122, 0.1);
    
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. Upgrade the High-Visibility Dynamic Efficiency Percentage Card */
#dynamicEfficiencyValue {
    color: #00e87a !important;          /* Overwrite darker green with bright emerald glow */
    font-size: 2.8rem !important;       /* Blown up size scale */
    font-weight: 800;
    background-color: rgba(0, 232, 122, 0.1) !important; /* Low-opacity frosted green fill */
    border: 1px solid rgba(0, 232, 122, 0.3);
    padding: 4px 16px !important;       /* Give the value breathing room inside the badge */
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(0, 232, 122, 0.15);
    
    /* Pop-out structural effect */
    text-shadow: 0 0 15px rgba(0, 232, 122, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 3. When a user hovers over a metric card, add a slight physical lift + scale to the number */
.feature-card:hover .live-metric-output,
.stat-glass-card:hover .stat-number-wrap {
    transform: scale(1.06);            /* Pops out slightly forward towards the user */
    color: #ffffff !important;         /* Flashes bright white on hover for premium feedback */
    text-shadow: 0 0 25px #00e87a,
                 0 0 50px rgba(0, 232, 122, 0.4);
}

/* ==========================================================================
   INFINITE CONVEYOR BELT (MASTER SMOOTH FIX)
   ========================================================================== */
.conveyor-section {
    background-color: #080f0b; 
    padding: 80px 0;
    overflow: hidden;
    width: 100%;
}

.marquee-title-block {
    text-align: center;
    margin-bottom: 40px;
}

.marquee-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #00e87a;
    font-weight: 600;
}

.marquee-title-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f0f7f2;
    margin-top: 8px;
}

/* 1. Outer viewport window */
.conveyor-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

/* 2. Master row container holding BOTH groups */
.conveyor-belt {
    display: flex;
    width: max-content;
    flex-wrap: nowrap;
}

/* 3. The card groups — WE SET THE SPEED CRUISE HERE */
.conveyor-group {
    display: flex;
    align-items: center;
    gap: 30px;         /* Increased gap to let images breathe */
    padding-right: 30px; 
    flex-shrink: 0;
    
    /* Changed from 25s/60s to a massive 120s loop window for a cinematic slow crawl */
    animation: slideLeftConveyorLoop 80s linear infinite !important;
}

/* Pause track motion completely when hovered */
.conveyor-viewport:hover .conveyor-group {
    animation-play-state: paused;
}

/* 4. Frame dimension rules for individual cards */
.conveyor-card {
    width: 320px;       /* Made cards slightly wider like premium enterprise banners */
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(28, 51, 36, 0.5);
    background: #14221a;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.conveyor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) brightness(85%);
    transition: all 0.3s ease;
}

/* Hover state interaction enhancements */
.conveyor-card:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: #00e87a;
    box-shadow: 0 15px 30px rgba(0, 232, 122, 0.2);
}

.conveyor-card:hover img {
    filter: grayscale(0%) brightness(100%);
}

/* 5. MATHEMATICAL PIXEL RESET LOOP ENGINE */
@keyframes slideLeftConveyorLoop {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        /* Moves precisely half of the double-width track, making the reset completely invisible */
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   CUSTOM PLANT-THEMED DYNAMIC MICRO-CURSOR
   ========================================================================== */
@media (min-width: 992px) {
    /* 1. Hide the rigid default operating system arrow pointer */
    html, body, a, button, input, select, textarea {
        cursor: none !important;
    }

    /* 2. The Core Seed Node (Sharp Central Pointer) */
    .plant-cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 8px;
        height: 8px;
        background-color: #00e87a; /* Electric Emerald */
        border-radius: 50%;
        z-index: 9999999;
        pointer-events: none; /* Allows clicks to pass straight through cleanly */
        transform: translate3d(-50%, -50%, 0);
        transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    }

    /* 3. The Atmospheric Organic Aura (Trailing Leaf/Vapor Glow) */
    .plant-cursor-glow {
        position: fixed;
        top: 0;
        left: 0;
        width: 32px;
        height: 32px;
        background: radial-gradient(circle, rgba(0, 232, 122, 0.15) 0%, rgba(28, 51, 36, 0.03) 70%);
        border: 1px solid rgba(0, 232, 122, 0.3);
        
        /* Organic fluid border-radius to mimic a soft natural leaf cell architecture */
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        
        z-index: 9999998;
        pointer-events: none;
        transform: translate3d(-50%, -50%, 0);
        
        /* Smooth lerping physics simulation layout script handles displacement */
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                    border-color 0.3s ease, 
                    background-color 0.3s ease,
                    border-radius 0.5s ease; /* Rotates shape organically */
        
        /* Subtle natural spinning effect to simulate a floating leaf component */
        animation: organicAuraSpin 8s linear infinite;
    }

    /* 4. INTERACTION MODIFIERS: What happens when hovering clickable cards or links */
    body.cursor-hovering .plant-cursor-dot {
        width: 4px;
        height: 4px;
        background-color: #ffffff; /* Fades white like a clean focal spec */
    }

    body.cursor-hovering .plant-cursor-glow {
        width: 48px;
        height: 48px;
        background: radial-gradient(circle, rgba(0, 232, 122, 0.25) 0%, rgba(0, 232, 122, 0.05) 80%);
        border-color: #00e87a;
        box-shadow: 0 0 20px rgba(0, 232, 122, 0.2);
        border-radius: 50%; /* Solidifies focus ring */
    }
}















































































/* Micro floating rotational loops for the outer leaf profile */
@keyframes organicAuraSpin {
    0% { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
    100% { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}